-
Allow only alphanumeric characters
+ Toggle Code
$('.sample1').alphanumeric();
-
Allow only alphanumeric characters, and some exceptions like dot(.), comma (,) and space
+ Toggle Code
$('.sample2').alphanumeric({allow:"., "});
-
Allow only lowercase alpha characters
+ Toggle Code
$('.sample3').alpha({nocaps:true});
-
Allow only numeric characters
+ Toggle Code
$('.sample4').numeric();
-
Allow only numeric characters, and some exceptions like dot (.)
+ Toggle Code
$('.sample5').numeric({allow:"."});
-
Make a custom rule and define only certain characters to prevent, like dot (.), one (1), and a (a)
+ Toggle Code
$('.sample6').alphanumeric({ichars:'.1a'});